package salary.calculation.common.constant;

/**
 * 通用常量
 */
public class UnifiedConstant {

    /**
     * 生产环境
     */
    public final static String ENV_PROD = "idc";

    /**
     * 跳绳模式 1自由跳 2倒计时 3倒计数
     */
    public static final int TMF_JUMP_TYPE_FREE = 1;
    public static final int TMF_JUMP_TYPE_TIME = 2;
    public static final int TMF_JUMP_TYPE_COUNT = 3;

    /**
     * AI运动消息类型：-2没识别到人体  -1请对准轮廓  0心跳  1开始  2计数
     */
    public static final int AI_SPORT_MSG_TYPE_NO_BODY = -2;
    public static final int AI_SPORT_MSG_TYPE_NO_START = -1;
    public static final int AI_SPORT_MSG_TYPE_HEARTBEAT = 0;
    public static final int AI_SPORT_MSG_TYPE_START = 1;
    public static final int AI_SPORT_MSG_TYPE_COUNT = 2;

    /**
     * 是否删除 0正常 1删除
     */
    public static final byte NOT_DELETE = 0;
    public static final byte DELETED = 1;

    /**
     * 排行类型 1当日 2当周 3当月
     */
    public static final int RANK_TYPE_TODAY = 1;
    public static final int RANK_TYPE_WEEK = 2;
    public static final int RANK_TYPE_MONTH = 3;

    /**
     * 默认学生头像url 男 / 女
     */
    public static final String STUDENT_DEFALUT_LOGO_MALE = "https://cdn2.hn.toptolink.com/sport/file/2a1dedbe4fe04dca8d4302b9ee745a59.png";
    public static final String STUDENT_DEFALUT_LOGO_FEMALE = "https://cdn2.hn.toptolink.com/sport/file/c7aa8a83e45e42cdb6023921eeafc7df.png";

    /**
     * 男女性别 1男 2女
     */
    public static final short MALE = 1;
    public static final short FEMALE = 2;


    /**
     * 默认体重 50公斤
     */
    public static final int DEFALUT_WEIGHT = 50;

    /**
     * 默认身高 150cm
     */
    public static final int DEFALUT_HEIGHT = 150;

    /**
     * 成绩 1不及格，2合格，3良好，4优秀
     */
    public static final int SCORE_FAIL = 1;
    public static final int SCORE_FITNESS = 2;
    public static final int SCORE_GOOD = 3;
    public static final int SCORE_EXCELLENT = 4;


    /**
     * 判断作弊 0作弊,1正常
     * 阈值 350 个/分钟
     */
    public static final int CHEATING = 0;
    public static final int NORMAL = 1;
    public static final int THRESHOLD = 350;

    /**
     * 跳绳模式 1智能跳绳 2普通模式 3AI模式 4体考模式 5训练模式
     */
    public static final int INTELLIGENT_JUMP = 1;
    public static final int COMMON_JUMP = 2;
    public static final int AI_JUMP = 3;
    public static final int EXAM_JUMP = 4;
    public static final int TRAINING_JUMP = 5;

    /**
     * 周期类型 0一天 1一周 2一月 3全部
     */
    public static final int CYCLE_DAY = 0;
    public static final int CYCLE_WEEK = 1;
    public static final int CYCLE_MONTH = 2;
    public static final int CYCLE_TOTAL = 3;

    /**
     * 作业状态：0未完成，1已完成
     */
    public static final byte TRAINING_STATUS_UNDONE = 0;
    public static final byte TRAINING_STATUS_COMPLETED = 1;

    /**
     * c端排行榜默认背景图片
     */
    public static final String DEFALUT_RANK_BACKGROUD_PIC = "https://cdn1.hn.toptolink.com/timanfen/images/rank_default_bg.png";

}
